package com.zwr.sheller.customer.mapper;


import com.zwr.sheller.core.pojo.Store;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;
import java.util.Map;

/**
 * @Author: 18032
 * @Date: 10:25 2022/1/12
 */
public interface StoreMapper extends Mapper<Store> {
    /**
     * 剥壳者商店:查询店铺的一级分类
     * @param storeId
     * @return
     */
    List<Map<String,Object>> selectOneSort(Long storeId);

    /**
     * 剥壳者商店:根据itemId查询二级分类
     * @param storeId
     * @param itemId
     * @return
     */
    List<Map<String,Object>> selectTwoSort(Long storeId,Long itemId);

    /**
     * 剥壳者商店:根据二级分类查询三级分类
     * @param storeId
     * @param itemId
     * @return
     */
    List<Map<String,Object>> selectThreeSort(Long storeId,Long itemId);

}
